<template>
  <div class="match">
    <div class="line1">
      <!-- <div class="main">
      <img src="//game.gtimg.cn/images/yxzj/match/center2018/images/logo.png" alt="">
      <ul>
        <li><a href="#">首页</a></li>
        <li><a href="#">比赛直播</a></li>
        <li><a href="#">最新资讯</a></li>
        <li><a href="#">赛事数据</a></li>
        <li><a href="#">视频中心</a></li>
        <li><a href="#">会员中心</a></li>
        <li class="nav-buy"></li>
      </ul>
      <a href="#" class="login clearFixed">
        <div class="imgbox fl">
          <img src="" alt="">
        </div>
        <div class="loginword">
          <p>欢迎登录</p>
          登录后查看游戏战绩
        </div>

      </a>
    </div> -->
    </div>
    <header>
      <div class="live-box">
        <div class="live">
          <p class="live-title">
            现在正在直播的
          </p>
          <img src="../../assets/@W]25RI567{H]WC[)7F4KPL.png" alt="" />
        </div>
        <div class="recent">
          <p class="recent-title">
            近期赛程
          </p>
          <div class="recent-con">
            <allmatch></allmatch>
          </div>
        </div>
      </div>
    </header>
    <main class="clearFixed">
      <newscom class="fl"></newscom>
      <rank></rank>
      <hot class="fl"></hot>
      <buy class="fr"></buy>
      <videoing class="fl"></videoing>
      <a href="#" class="imgbox">
        <img src="https://ossweb-img.qq.com/upload/adw/image/20190919/209b9e3addd38c908c457bfcddb8ffdf.jpeg" alt="" />
      </a>
      <div class="int_com clearFixed">
        <intr class="fl"></intr>
        <comm class="fr"></comm>
      </div>
      <par></par>
    </main>
    <footering></footering>
  </div>
</template>
<script>
import Par from '../../components/match/Partner'
import Newscom from '../../components/match/News'
import Rank from '../../components/match/Rank'
import Allmatch from '../../components/match/Allmatch'
import Hot from '../../components/match/Hot'
import Buy from '../../components/match/Buyticket'
import Videoing from '../../components/match/VideoCenter'
import Intr from '../../components/match/Introduction'
import Comm from '../../components/match/Commentary'
import Footering from '../../components/Footer'
export default {
  data: () => ({
    activeName: 'first',
    newsinfo: []
  }),
  created () {},
  methods: {
    handleClick () {}
  },
  components: {
    Newscom,
    Rank,
    Allmatch,
    Hot,
    Buy,
    Videoing,
    Intr,
    Par,
    Comm,
    Footering
  },
  computed: {}
}
</script>
<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clearFixed:after {
  content: '';
  display: block;
  clear: both;
}
ul,
li {
  list-style: none;
}
.fs14 {
  font-size: 14px;
}
.fs18 {
  font-size: 18px;
}
.fs22 {
  font-size: 22px;
}
.w370 {
  width: 370px;
}
.w230 {
  width: 230px;
}
a {
  text-decoration: none;
}
.match {
  position: relative;
  // .line1{
  //   background-color: #0d151e;
  //   height: 90px;
  //   .main{
  //     width: 1200px;
  //     height: 90px;
  //     margin: 0 auto;
  //     display: flex;
  //     justify-content: space-between;
  //     align-items: center;
  //     ul{
  //       display: flex;
  //       width: 800px;
  //       li{
  //         padding: 0 20px;
  //         a{
  //           color: #ffffff;
  //           font-size: 20px;
  //           transition: all .3 ease;
  //         }
  //         a:hover{
  //           color: #ffd700;
  //           transition: all .3 ease;
  //         }
  //       }
  //       .nav-buy{
  //         width: 72px;
  //         height: 24px;
  //         background: url(//game.gtimg.cn/images/yxzj/match/center2018/images/nav-buy.png) no-repeat;
  //       }
  //     }
  //     .login{
  //       width: 182px;
  //       .imgbox{
  //         border: 1px solid #d9ad50;
  //         border-radius: 50%;
  //         width: 44px;
  //         height: 44px;
  //         text-align: center;
  //         margin-right: 10px;
  //       }
  //       .loginword{
  //         color: #858792;
  //         font-size: 14px;
  //         p{
  //           color: #fff;
  //           font-size: 16px;
  //           margin-bottom: 5px;
  //         }
  //       }
  //     }
  //   }
  // }
  header {
    background-image: url('//ossweb-img.qq.com/upload/webplat/info/yxzj/20191214/93862427881014.jpg');
    background-size: cover;
    width: 100%;
    min-width: 1200px;
    height: 1036px;
    background-position: center 0;
    .live-box {
      width: 1200px;
      height: 500px;
      overflow: hidden;
      position: absolute;
      top: 470px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      .live {
        width: 820px;
        height: 500px;
        float: left;
        background: rgba(51, 51, 51, 0.95);
        .live-title {
          width: 100%;
          height: 44px;
          border-bottom: 1px solid #211e1f;
          font-size: 20px;
          color: #fff;
          line-height: 44px;
          text-indent: 10px;
        }
      }
      .recent {
        width: 360px;
        height: 500px;
        float: right;
        background: rgba(51, 51, 51, 0.95);
        color: #fff;
        .recent-title {
          width: 100%;
          height: 44px;
          border-bottom: 1px solid #211e1f;
          font-size: 22px;
          color: #fff;
          line-height: 44px;
          text-indent: 12px;
        }
        .recent-con {
          width: 100%;
          height: 455px;
          overflow: hidden;
          overflow-y: auto;
        }
      }
    }
  }
  main {
    width: 1200px;
    margin: 0 auto;
    .news {
      width: 820px;
      height: 500px;
    }
    .imgbox {
      display: block;
      width: 100%;
      img {
        margin-top: 40px;
        filter: grayscale(100%);
        transition: filter 2s ease-out;
      }
      img:hover {
        filter: grayscale(0);
        transition: filter 2s ease-out;
      }
    }
    .int_com {
      margin-top: 40px;
    }
  }
}
</style>
